<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/2/20
  Time: 11:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%
    String path = request.getContextPath();
    String basepath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basepath %>"/>
    <meta charset="utf-8"/>
    <title>添加学生信息</title>
</head>
<body>
    <h1>添加学生信息</h1>
    <form action="addstudent" method="post">
        姓名：<input type="text" name="name" id="name" /><br>
        性别：<input type="text" name="sex" id="sex" /><br>
        年龄：<input type="text" name="age" id="age" /><br>
        <input type="submit" name="stuaddbtn" id="stuaddbtn" value="提交" />
        <input type="reset" name="stuaddrebtn" id="stuaddrebtn" value="重置" />
    </form>
    ${msg}
</body>
</html>